import { request } from '@/utils/request'
import type { CategoryItem } from '@/types/category'

export const getCategoryTopAPI = () => {
  return request<CategoryItem[]>({
    url: '/category/top',
  })
}
